package com.pansoft.openplanet.bean;

import java.util.List;

/**
 * 托管账户  充值红包领取记录
 *
 * @author YQS
 */
public class EscrowRecordListBean {



    /**
     * result : success
     * trusteeshipTransactionLists : [{"coin":1,"from":"18363825829","id":44,"stats":1,"time":1534243560000,"timestamp":"2018-08-14 18:46:00","transactionId":"0x6ba38bb9407a74d9f3bdcb7ce7512524cf2ad9fb7a1bc88c7cb81673ef23ebc3","trusteeshipCoidId":1,"txFrom":"0x5941166c7db099173a293e5711a57c8b81351fb1","txTo":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","type":4},{"coin":0.01,"from":"18363825829","id":43,"packetId":"99919a9d-e6e9-4f39-a18b-1f4e5d81f841","time":1534243176000,"timestamp":"2018-08-14 18:39:36","trusteeshipCoidId":1,"type":2},{"coin":0.01,"from":"18363825829","id":42,"packetId":"7f470893-427f-4acb-8c98-3a143b4ee75e","time":1534243017000,"timestamp":"2018-08-14 18:36:57","trusteeshipCoidId":1,"type":2},{"coin":0.01,"from":"18363825829","id":40,"packetId":"c97c5753-3378-4ac5-9480-1627f8b864d8","time":1534238670000,"timestamp":"2018-08-14 17:24:30","trusteeshipCoidId":1,"type":2},{"coin":0.01,"from":"18363825829","id":35,"packetId":"14b49fa7-c54a-4d21-9e8a-0f3f5ccb30df","time":1534230729000,"timestamp":"2018-08-14 15:12:09","trusteeshipCoidId":1,"type":2},{"coin":0.01,"from":"18363825829","id":34,"packetId":"b8fb3a1e-b3a8-48a6-8846-441084fd8ff4","time":1534230717000,"timestamp":"2018-08-14 15:11:57","trusteeshipCoidId":1,"type":2},{"coin":0.01,"from":"18363825829","id":12,"stats":1,"time":1534211395000,"timestamp":"2018-08-14 09:49:55","transactionId":"0x17ddc4acf95c99372a90d8af7e19f223a7c51cb286456fe4eeb6f3d52c733b4e","trusteeshipCoidId":1,"txFrom":"0x5941166c7db099173a293e5711a57c8b81351fb1","txTo":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","type":4},{"coin":0.01,"from":"18363825829","id":11,"stats":1,"time":1534211026000,"timestamp":"2018-08-14 09:43:46","transactionId":"0x7389b1ff3d77452610e5b8aee65d10061d0a8903e813f152fd20ac6662fddbf6","trusteeshipCoidId":1,"txFrom":"0x5941166c7db099173a293e5711a57c8b81351fb1","txTo":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","type":4},{"coin":0.1,"from":"18363825829","id":10,"stats":1,"time":1534210533000,"timestamp":"2018-08-14 09:35:33","transactionId":"0x5c5ee42ba360fa772b21690ef95a6532b83c12e662e2f999f3377cad9dbe8628","trusteeshipCoidId":1,"txFrom":"0x5941166c7db099173a293e5711a57c8b81351fb1","txTo":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","type":4}]
     * page : {"allRow":9,"currentPage":1,"pageSize":10,"totalPage":1}
     */

    private String result;
    private PageBean page;
    private List<TrusteeshipTransactionListsBean> trusteeshipTransactionLists;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public List<TrusteeshipTransactionListsBean> getTrusteeshipTransactionLists() {
        return trusteeshipTransactionLists;
    }

    public void setTrusteeshipTransactionLists(List<TrusteeshipTransactionListsBean> trusteeshipTransactionLists) {
        this.trusteeshipTransactionLists = trusteeshipTransactionLists;
    }

    public static class PageBean {
        /**
         * allRow : 9
         * currentPage : 1
         * pageSize : 10
         * totalPage : 1
         */

        private int allRow;
        private int currentPage;
        private int pageSize;
        private int totalPage;

        public int getAllRow() {
            return allRow;
        }

        public void setAllRow(int allRow) {
            this.allRow = allRow;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }
    }

    public static class TrusteeshipTransactionListsBean {
        /**
         * coin : 1.0
         * from : 18363825829
         * id : 44
         * stats : 1
         * time : 1534243560000
         * timestamp : 2018-08-14 18:46:00
         * transactionId : 0x6ba38bb9407a74d9f3bdcb7ce7512524cf2ad9fb7a1bc88c7cb81673ef23ebc3
         * trusteeshipCoidId : 1
         * txFrom : 0x5941166c7db099173a293e5711a57c8b81351fb1
         * txTo : 0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212
         * type : 4
         * packetId : 99919a9d-e6e9-4f39-a18b-1f4e5d81f841
         */

        private double coin;
        private String from;
        private int id;
        private int stats;
        private long time;
        private String timestamp;
        private String transactionId;
        private int trusteeshipCoidId;
        private String txFrom;
        private String txTo;
        //type 1收红包 2发红包 3红包退回 4 充值 4.提现 6.兑换
        private int type;
        private String packetId;

        public double getCoin() {
            return coin;
        }

        public void setCoin(double coin) {
            this.coin = coin;
        }

        public String getFrom() {
            return from;
        }

        public void setFrom(String from) {
            this.from = from;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getStats() {
            return stats;
        }

        public void setStats(int stats) {
            this.stats = stats;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public String getTransactionId() {
            return transactionId;
        }

        public void setTransactionId(String transactionId) {
            this.transactionId = transactionId;
        }

        public int getTrusteeshipCoidId() {
            return trusteeshipCoidId;
        }

        public void setTrusteeshipCoidId(int trusteeshipCoidId) {
            this.trusteeshipCoidId = trusteeshipCoidId;
        }

        public String getTxFrom() {
            return txFrom;
        }

        public void setTxFrom(String txFrom) {
            this.txFrom = txFrom;
        }

        public String getTxTo() {
            return txTo;
        }

        public void setTxTo(String txTo) {
            this.txTo = txTo;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getPacketId() {
            return packetId;
        }

        public void setPacketId(String packetId) {
            this.packetId = packetId;
        }
    }
}
